package com.mach.platform.util;

import java.util.Collection;
import java.util.HashMap;

public class ClsU {
	
	public static boolean hasEle(Collection coll){
		if( ObjUtil.nul(coll) ){
			return true;
		}
		
		return coll.isEmpty();
	}

	public static HashMap<Object,Object> newHashMap(Object key, Object value){
		HashMap<Object,Object> result = new HashMap<Object,Object>();
		result.put(key,value);
		return result;
	}
}
